<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>搜索{:input('ks')}相关的内容- {:set('title')}</title>
    <meta name="description" content="{:set('description',1)}">
    <meta name="keywords" content=" {:set('keywords',1)}">
    <meta name="author" content="guojicms.com">
    {include file="header"}
    <div class="carbox clearfloat pb-10 pt-10">
        <div class="carmat">
            <div class="widget-header"><h4>搜索{:input('ks')}相关的内容</h4></div>
            <ul>
                {volist name=":fun_so('html',array('open'=>1),input('ks'),8)" id="vo" empty="
                    <div align='center' style='margin: 0 auto;'>
                        <img src='/public/img/empty.jpg' height='200' />
                        <h4 class='pt-20'>
                              没有更多的记录
                            </h4>
                    </div>"}
                <li>
                    <div class="matcont">
                        <a href="{:url('index/index/html',array('id'=>$vo.id))}">
                            <h1>{$vo.title}</h1>
                            <div class="mattext">{:cut_c($vo.content,100)}</div>
                        </a>
                        <div class="like clearfloat">
                            <div class="zantime">	
                                <span class="headport"><img src="{:fun_u($vo.uid, 'userhead')}"/></span>
                                <span class="likename">{:fun_u($vo.uid, 'username')}</span>
                                <span class="liked"></span>
                                <span class="likename">{$vo.time|times}</span>
                            </div>
                            <div class="zanbox">	
                                <span class="zanbtn"></span><span class="zannum">{$vo.zan}</span>
                                <a href="javascript:;" class="cri"></a><span class="zannum">{:fun_st('comment', array('fid'=>$vo.id))}</span>
                            </div>
                        </div>
                    </div>
                </li>
                {/volist}
            </ul>
             <div class="pagination">
    		    {:fun_so('html',array('open'=>1),input('ks'),8)->render()}
    		</div>
        </div>
        <!--右边-->
        <div class="drivebox">
            <!--热门文章-->
            <div class="industbox">
                <div class="widget-header"><h4>猜你喜欢</h4></div>
                <div class="indust">
                    <ul>
                        {volist name=":fun_sj('html',array('open'=>1),12)" id="vo"}
                        <li>
                            <a href="{:url('index/index/html',array('id'=>$vo.id))}" class="clearfloat">
                                <div class="industpic">
                                    <img src="{$vo.content|pic}" />
                                </div>
                                <div class="industcont">
                                    <h1>{$vo.title}</h1>
                                    <p>{:cut_c($vo.content,15)}</p>
                                </div>
                            </a>
                        </li>
                        {/volist}
                    </ul>
                </div>
            </div> 
        </div>
    </div>
    <!--预埋钩子-->
    {:hook('indexsoso')}
    {include file="footer"}